package br.com.iswe.gwt.crud.client;

import br.com.iswe.core.entidades.gwt.RemoteEntityObject;
import br.com.iswe.gwt.ui.client.ListenerCollection;
import br.com.iswe.gwt.ui.client.service.ServiceClientAbstract;

import com.google.gwt.user.client.ui.Composite;

public abstract class SearchPanel<E extends RemoteEntityObject> extends Composite {

	public SearchPanel(){
		
	}

	@SuppressWarnings("unchecked")
	public ListenerCollection onSelectListener = new ListenerCollection();
	
	public abstract ServiceClientAbstract getService();

	public abstract ListPanelAbstract<E> getListPanel() ;
	
	protected abstract void setupScreen();

}
